home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / windows / winterm / term.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-27  |  1.8 KB  |  68 lines

  1. /* term.h */
  2. #define MSG_DEBUG  300
  3. #define MSG_PAINT  200
  4. #define MSG_BREAK  201
  5. #define MSG_ABOUT    1
  6. #define MSG_COM1    11
  7. #define MSG_COM2    12
  8. #define MSG_COM3    13
  9. #define MSG_COM4    14
  10. #define MSG_1200    21
  11. #define MSG_2400    22
  12. #define MSG_4800    23
  13. #define MSG_9600    24
  14. #define MSG_19200   25
  15. #define MSG_38400   26
  16. #define MSG_57600   27
  17. #define MSG_115200  28
  18. #define MSG_NONE    31
  19. #define MSG_EVEN    32
  20. #define MSG_ODD     33
  21. #define MSG_1_SB    41
  22. #define MSG_2_SB    42
  23. #define MSG_7_DB    43
  24. #define MSG_8_DB    44
  25. #define MSG_REG_0   50
  26. #define MSG_REG_1   51
  27. #define MSG_REG_2   52
  28. #define MSG_REG_3   53
  29. #define MSG_REG_4   54
  30. #define MSG_REG_5   55
  31. #define MSG_REG_6   56
  32. #define MSG_EXIT    61
  33. #define MSG_ONLINE  62
  34. #define MSG_OFFLINE 63
  35. #define MSG_LOAD    64
  36. #define MSG_SAVE    65
  37. #define MSG_ASCII_TX  71
  38. #define MSG_ASCII_RX  72
  39. #define MSG_XMODEM_TX 73
  40. #define MSG_XMODEM_RX 74
  41. #define MSG_YMODEM_TX 75
  42. #define MSG_YMODEM_RX 76
  43. #define MSG_INIT_MODEM 79
  44. #define MSG_DTR_ON  81
  45. #define MSG_DTR_OFF 82
  46. #define MSG_RTS_ON  83
  47. #define MSG_RTS_OFF 84
  48.  
  49. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  50. BOOL InitApplication(HANDLE);
  51. BOOL InitInstance(HANDLE, int);
  52. long FAR PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM);
  53. void ProcessChar(char);
  54.  
  55. /*
  56. **  1) Set AT_COMMAND_SET to 1 if you are using a HAYES AT command set
  57. **     compatible modem, else set to 0.
  58. **  2) Set RTS_CTS_CONTROL to 1 if talking to a modem that requires flow
  59. **     control.
  60. **  3) If you are using a null modem cable for a direct PC to PC link, don't
  61. **     set RTS_CTS_CONTROL to 1 unless you are absolutely sure that RTS and
  62. **     CTS are switched in the null modem cable.
  63. */
  64.  
  65. #define AT_COMMAND_SET  1
  66. #define RTS_CTS_CONTROL 0
  67. #define RXBUFFERCODE  Size2K
  68.